package com.sale.succ.system.txt;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

import eve.zipfile.ZipEntry;
import eve.zipfile.ZipFile;

public class ZipBufferedReader extends BufferedReader {
	
	public ZipFile src;
	public ZipBufferedReader(ZipFile zip, ZipEntry entry, String codec) throws IOException {
		super(new InputStreamReader(zip.getInputStream(entry), codec));
		src = zip;
	}
	
	public void close() throws IOException {
		src.close();
		super.close();
	}
}
